#ifndef __GP_JXH42_PREFERENCE_H__
#define __GP_JXH42_PREFERENCE_H__

#include "..\gp_LensDef.h"

//=======================================================================
//Parameters:g_UserAeTable[0]=0 disable, 1 enable
//           g_UserAeTable[1]=0 day mode is equal ae_target
//           g_UserAeTable[2~7] night mode is ae_target-g_UserAeTable[]
//=======================================================================
static const INT8U g_UserAeTable[8] =
{
  0, 0, 4, 8, 12, 16, 20, 24
};

static const gpUserFav_t g_FavTable =
{
	94,
	0,	//.iso
	CDSP_AE_METER_CENTER_WEIGHTED_AVG_CVR,
	AWB_AUTO_DC,//AWB_AUTO_FIRST_SEARCH,					//.awb_mode
	0,			//.color_mode
	0,			//.ev

	0,		//-128 ~ +127,   +: more blue,  -: more yellow/green
	0,		//-128 ~ +127,   +: more red,  -: more blue/green

	0x26,	//Default:0x20 	// blud
	0x26,	//Default:0x20	// red
	18,				/*	0(smooth) ~ 127(sharp)*/

	0,
	0,	//-128 ~ +127,   +: more blue,  -: more yellow/green

	0x26,	//Default:0x20, blue
	0x26,	//Default:0x20, red
	6,

	(128 - 14),
	(128 - 14),
	
	64,  // wb_factor:  normal: 64,  warm: > 64,  cold: < 64
          
	0x0E, //ISP Function Enable:  bit[0]:LSC , bit[1]:WB , bit[2]:GAMMA ,  bit[3]:CCM .
  
	//capture_raw_mode:
	MODE_LUTGAMMA,   //MODE_PURERAW (disable all go path1)    
	                 //MODE_LENSCMP (enable lens compensation go path1)
	    			//MODE_WBGAIN  (enable wb go path2)        
	    			//MODE_LUTGAMMA(enable wb & gamma go path3)
		
	(unsigned char *) g_UserAeTable,
};
#endif
